package com.varian.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.varian.security.model.SecurityEntity;
import com.varian.system.enums.MenuTypeEnum;
import com.varian.tool.enums.CommonStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author ben
 * @since 2024/7/2
 */
@Data
@TableName(value = "varian_menu", autoResultMap = true)
public class SysMenu extends SecurityEntity {
    /**
     * 上级菜单id
     */
    private Long parentId;
    /**
     * 菜单名称
     */
    private String menuName;
    /**
     * 权限编码
     */
    private String permissionCode;
    /**
     * 菜单图标
     */
    private String menuIcon;
    /**
     * 菜单类型
     */
    private MenuTypeEnum menuType;
    /**
     * 菜单路径
     */
    private String menuPath;
    /**
     * 组件路径
     */
    private String componentPath;
    /**
     * 请求方式
     */
    private String httpMethod;
    /**
     * 菜单状态
     */
    private CommonStatusEnum menuStatus;
    /**
     * 菜单权重
     */
    private Integer menuWeight;
}
